/*
 * @Author: xiaoyan
 * @Date: 2021-09-28 14:08:24
 * @LastEditors: xiaoyan
 * @LastEditTime: 2021-09-29 10:45:16
 * @Description: 警务接口
 * @FilePath: \vue3-ts-demo\src\api\police.ts
 */
import { RequestParams, ContentType, Method } from 'axios-mapper'
import https from '@/utils/https'
import { RootObject } from '@/model/rootObject'
import { SearchCaseModel } from '@/model/policeObject'
const backApi = (window as any).conf.backApi + '/api/pap/case/v1';

export const searchCase = (data:RequestParams)=>{
    return https.request<RootObject<SearchCaseModel>>(`${backApi}/searchCase`,Method.POST,data,ContentType.json)
}